de.cebis.moccabox.io.command
Class NavigationCommand

java.lang.Object
  extended by de.cebis.moccabox.io.command.Command
      extended by de.cebis.moccabox.io.command.NavigationCommand

public class NavigationCommand
extends Command

Spezialisierung des Command, die einen Navigationsbefehl innerhalb der Historie der Sitzung des IClient repräsentiert. Zur Bearbeitung des NavigationCommand werden bereits ausgeführte ITaskRequests aus der Historie geholt und die zu Grunde liegenden Vorgänge erneut ausgeführt. Es werden vor allem Navigationen ähnlich dem Browser-Back und Browser-Forward abgebildet mit variabler Schrittweite.

Author:
weichelt
See Also:
ITaskRequestHistory

Field Summary
static java.lang.String NAVIGATION_BACK
          Rücksprung innerhalb der Historie.
static java.lang.String NAVIGATION_COMMAND
          Referenzierung, dass es sich um ein Navigationskommando handelt.
static java.lang.String NAVIGATION_FORWARD
          Navigation nach vorn, entlang der Historie.
static java.lang.String NAVIGATION_STEP
          Definition der Schritte, die gesprungen werden sollen.
 
Constructor Summary
NavigationCommand()
          Parameterloser Konstruktor zur Erzeugung eines neuen NavigationCommand.
NavigationCommand(java.lang.String command)
          Konstruktor zur Erzeugung eines neuen NavigationCommand.
 
Method Summary
 int getStep()
          Zurückliefern der Schrittweite, um die nach vorn oder hinten innerhalb der Historie gesprungen werden soll.
 void setStep(int step)
          Setzen der Schrittweite, um die nach vorn oder hinten innerhalb der Historie gesprungen werden soll.
 
Methods inherited from class de.cebis.moccabox.io.command.Command
getCommand, getCommandEvent, getName, setCommand, setCommandEvent, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAVIGATION_COMMAND

public static final java.lang.String NAVIGATION_COMMAND
Referenzierung, dass es sich um ein Navigationskommando handelt.

See Also:
Constant Field Values

NAVIGATION_BACK

public static final java.lang.String NAVIGATION_BACK
Rücksprung innerhalb der Historie.

See Also:
Constant Field Values

NAVIGATION_STEP

public static final java.lang.String NAVIGATION_STEP
Definition der Schritte, die gesprungen werden sollen.

See Also:
Constant Field Values

NAVIGATION_FORWARD

public static final java.lang.String NAVIGATION_FORWARD
Navigation nach vorn, entlang der Historie.

See Also:
Constant Field Values
Constructor Detail

NavigationCommand

public NavigationCommand()
Parameterloser Konstruktor zur Erzeugung eines neuen NavigationCommand.


NavigationCommand

public NavigationCommand(java.lang.String command)
Konstruktor zur Erzeugung eines neuen NavigationCommand.

Parameters:
command - Die Befehlszeile, die den auszuführenden Befehl repräsentiert.
Method Detail

setStep

public void setStep(int step)
Setzen der Schrittweite, um die nach vorn oder hinten innerhalb der Historie gesprungen werden soll.

Parameters:
step - Zu springende Schrittweite.

getStep

public int getStep()
Zurückliefern der Schrittweite, um die nach vorn oder hinten innerhalb der Historie gesprungen werden soll.

Returns:
Zu springende Schrittweite.